package com.goldgov.conference.service;

import com.goldgov.kcloud.core.service.Query;
import com.goldgov.utils.DateUtil;

/** 
 * @ClassName: ConferenceQuery 
 * @Description: TODO
 * @author hanxiangyu
 * @date 2018年6月3日 下午6:49:48 
 */
public class ConferenceQuery extends Query<Conference> {
	
	public static final int STATUS_YQ = 1; //已签到
	public static final int STATUS_WQ = 2;	//未签到
	public static final int STATUS_QJ = 3;	//请假
	public static final int STATUS_NOQJ = 4;//已知晓
	
	public static final int ACTIVESTATE_YES = 1; //启用
	public static final int ACTIVESTATE_NO = 2; //未启用
	
	public static final int DELETE_YES = 1; //删除
	public static final int DELETE_NO = 2; //未删除
	
	public static final int PUBLISHSTATE_YES = 1;//已发布
	public static final int PUBLISHSTATE_NO = 2;//未发布
	
	public static final int ONE = 1;//数
	public static final int THREE = 3;//数
	
	
	private String searchConferenceType; //会议类型
	private String searchConferenceBeginDate;//会议开始时间
	private String searchConferenceEndDate;//会议结束时间
	private String searchConferenceName;	//会议名称
	private Integer searchIshave;		//是否存在附件 1存在 2不存在
	private String searchScopeCode;		//机构路径
	private String searchYear;			//年份
	private Integer searchQuarter;		//季度
	private Integer searchMeetingStatus;        //会议状态
	private String searchOrganizationId; //机构id
	private String searchUserId;		//当前登录用户id;
	private boolean searchChilderOrg;//是否关联子机构 1 true 是
	private String  queryOrganizationName;//组织机构名称
	
	public String getQueryOrganizationName() {
		return queryOrganizationName;
	}
	public void setQueryOrganizationName(String queryOrganizationName) {
		this.queryOrganizationName = queryOrganizationName;
	}
	public String getSearchOrganizationId() {
		return searchOrganizationId;
	}
	public void setSearchOrganizationId(String searchOrganizationId) {
		this.searchOrganizationId = searchOrganizationId;
	}
	public String getSearchConferenceType() {
		return searchConferenceType;
	}
	public void setSearchConferenceType(String searchConferenceType) {
		this.searchConferenceType = searchConferenceType;
	}
	public String getSearchConferenceBeginDate() {
		if(null!=searchConferenceBeginDate) {
			searchConferenceBeginDate+=" 00:00";
		}
		return searchConferenceBeginDate;
	}
	public void setSearchConferenceBeginDate(String searchConferenceBeginDate) {
		this.searchConferenceBeginDate = searchConferenceBeginDate;
	}
	public String getSearchConferenceEndDate() {
		if(null!=searchConferenceEndDate) {
			searchConferenceEndDate+=" 23:59";
		}
		return searchConferenceEndDate;
	}
	public void setSearchConferenceEndDate(String searchConferenceEndDate) {
		this.searchConferenceEndDate = searchConferenceEndDate;
	}
	public String getSearchConferenceName() {
		return searchConferenceName;
	}
	public void setSearchConferenceName(String searchConferenceName) {
		this.searchConferenceName = searchConferenceName;
	}
	public Integer getSearchIshave() {
		return searchIshave;
	}
	public void setSearchIshave(Integer searchIshave) {
		this.searchIshave = searchIshave;
	}
	public String getSearchScopeCode() {
		return searchScopeCode;
	}
	public void setSearchScopeCode(String searchScopeCode) {
		this.searchScopeCode = searchScopeCode;
	}
	public String getSearchYear() {
		return searchYear;
	}
	public void setSearchYear(String searchYear) {
		this.searchYear = searchYear;
	}
	public Integer getSearchQuarter() {
		return searchQuarter;
	}
	public void setSearchQuarter(Integer searchQuarter) {
		this.searchQuarter = searchQuarter;
	}
	public Integer getSearchMeetingStatus() {
		return searchMeetingStatus;
	}
	public void setSearchMeetingStatus(Integer searchMeetingStatus) {
		this.searchMeetingStatus = searchMeetingStatus;
	}
	public String getSearchUserId() {
		return searchUserId;
	}
	public void setSearchUserId(String searchUserId) {
		this.searchUserId = searchUserId;
	}
	public boolean isSearchChilderOrg() {
		return searchChilderOrg;
	}
	public void setSearchChilderOrg(boolean searchChilderOrg) {
		this.searchChilderOrg = searchChilderOrg;
	}
	
	
	
}
